]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
modalDialog: Finish cleanup in close()
authorTotto16 <tobiausgais@gmail.com>
Thu, 28 Mar 2024 16:54:45 +0000 (17:54 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Apr 2024 11:10:11 +0000 (11:10 +0000)
timestamp is unused and removed after cleanup in commit 3574c5246a29dc2ad5b9dbc629e4e7647fbc41bf, this fixes this in the missed parts

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3253>

js/ui/modalDialog.js

index 34cda9364f84ab12c2cc9b7fb0c1d323192715ea..dbb3fe988909903959c4449fd0ebd69ce171a284 100644 (file)
@@ -191,12 +191,12 @@ export const ModalDialog = GObject.registerClass({
             this.destroy();
     }
 
-    close(timestamp) {
+    close() {
         if (this.state === State.CLOSED || this.state === State.CLOSING)
             return;
 
         this._setState(State.CLOSING);
-        this.popModal(timestamp);
+        this.popModal();
         this._savedKeyFocus = null;
 
         if (this._shouldFadeOut) {